<template>
  <el-row>
    <el-col :span="8" :offset="16" style="text-align:right;">
      <el-badge :value="2" type="warning" class="my-msg">
        <el-button size="small">消息</el-button>
      </el-badge>
      <el-dropdown>
        <el-avatar :size="50" ></el-avatar>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item >注销</el-dropdown-item>
          </el-dropdown-menu>
        </template>
      </el-dropdown>
    </el-col>
  </el-row>
</template>

<script setup lang="ts">

</script>

<style>
.my-msg {
  margin-top: 15px;
  margin-right: 20px;
}
</style>